package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Supplierorder;
import org.hxyjs.entity.SupplierorderExample;

public interface SupplierorderMapper {
    long countByExample(SupplierorderExample example);

    int deleteByExample(SupplierorderExample example);

    int deleteByPrimaryKey(String usno);

    int insert(Supplierorder record);

    int insertSelective(Supplierorder record);

    String getMaxUsno();

    List<Supplierorder> getSupplierorderByPage(Map<String, Object> map);

    List<Supplierorder> selectSupplierOrderWithUserBysuno(String suno);

    List<Supplierorder> selectByExample(SupplierorderExample example);

    Supplierorder selectByPrimaryKey(String usno);

    int updateByExampleSelective(@Param("record") Supplierorder record, @Param("example") SupplierorderExample example);

    int updateByExample(@Param("record") Supplierorder record, @Param("example") SupplierorderExample example);

    int updateByPrimaryKeySelective(Supplierorder record);

    int updateByPrimaryKey(Supplierorder record);
}